<template>
  <div class="header">
    城市选择
    <router-link to="/">
      <div class="header-back"><span class="iconfont">&#xe624;</span></div>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'cityHeader'
}
</script>

<style scoped>
  .header {
    position: relative;
    overflow: hidden;
    height: 43px;
    line-height: 43px;
    text-align: center;
    color: #fff;
    background: #00bcd4;
    font-size: 16px;
    /* 可不可以在这里搞一个固定定位，来解决 better-scroll 无法滚动的问题 */
  }
  .header-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    text-align: center;
    font-size: 2px;
    color: #fff;
  }
</style>
